﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using WorkingTime.Classes.ViewModel;

namespace WorkingTime.Classes.View
{
    /// <summary>
    /// Interaction logic for WorkingTimeWindow.xaml
    /// </summary>
    public partial class WorkingTimeWindow : Window
    {
        public WorkingTimeWindow()
        {
            InitializeComponent();
            this.DataContext = new DataView();
        }

        private void TextBoxLostFocus(object sender, RoutedEventArgs e)
        {
            (sender as TextBox).Text = string.Empty;
        }
    }
}
